#!/usr/bin/env.node

const fs = require('fs');
const file = process.argv[2];

//get file size
let len = fs.statSync(file).size;

// open handle
let fid = fs .openSync(file,'r');
let content = fs.readFileSync(fid, 'utf8');
console.log(buf.toString('utf8'));
fs.closeSync(fid);
